package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.order.handler.annotation.DateStringFormatAnnotation;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 创建送货计划
 * @author czh
 * @version 2.0.0
 * @date 2021-07-19
 */
public class DeliveryPlanCreateVO implements Serializable {

    /**
     * 摘要
     */
    @NotNull(message = "摘要不能为空")
    private String digest;

    /**
     * 计划开始时间 （yyyy-MM-dd）
     */
    @NotNull(message = "计划开始时间不能为空")
    private String planStartTime;

    /**
     * 计划结束时间 （yyyy-MM-dd）
     */
    @NotNull(message = "计划结束时间不能为空")
    private String planEndTime;

    /**
     * 卖方（供应）会员Id
     */
    @NotNull(message = "卖方（供应）会员Id不能为空")
    private Long vendorMemberId;

    /**
     * 卖方（供应）会员角色Id
     */
    @NotNull(message = "卖方（供应）会员角色Id不能为空")
    private Long vendorRoleId;

    /**
     * 供应商角色名称
     */
    @NotNull(message = "供应商角色名称不能为空")
    private String vendorMemberName;

    /**
     * 备注
     */
    @NotNull(message = "备注不能为空")
    private String remark;

    /**
     * 计划送货物料编码
     */
    private List<DeliveryPlanProductParamVO> productList;

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getPlanStartTime() {
        return planStartTime;
    }

    public void setPlanStartTime(String planStartTime) {
        this.planStartTime = planStartTime;
    }

    public String getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(String planEndTime) {
        this.planEndTime = planEndTime;
    }

    public Long getVendorMemberId() {
        return vendorMemberId;
    }

    public void setVendorMemberId(Long vendorMemberId) {
        this.vendorMemberId = vendorMemberId;
    }

    public Long getVendorRoleId() {
        return vendorRoleId;
    }

    public void setVendorRoleId(Long vendorRoleId) {
        this.vendorRoleId = vendorRoleId;
    }

    public String getVendorMemberName() {
        return vendorMemberName;
    }

    public void setVendorMemberName(String vendorMemberName) {
        this.vendorMemberName = vendorMemberName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<DeliveryPlanProductParamVO> getProductList() {
        return productList;
    }

    public void setProductList(List<DeliveryPlanProductParamVO> productList) {
        this.productList = productList;
    }
}
